<template>
	<web-view :src="'https://api6.4008825010.cn/aqy_quick/?path=aqy_ljj'+'&a='+a+'&param='+param"></web-view>
	
</template>

<script>
	export default {
		data() {
			return {
				param: "",
				a: ''
			}
		},
		components: {

		},
		methods: {



		},
		onLoad(option) {

			if (option.a) {
				this.a = option.a
			}
			if (option.param) {
				this.param = option.param
			}
			if (option.qcjParamStr) {
				this.param = (option.qcjParamStr)
			}

			if (option.jtcAdRequestId) {
				this.param = (option.jtcAdRequestId)
			}


			if (option.pushid) {
				this.param = (option.pushid)

			}
			if (option.push_id) {
				this.param = (option.push_id)

			}

			if (option.bd_vid) {
				this.param = window.location.href

			}
			if (option.clickid) {
				this.param = (option.clickid)
			}
			if (option.tokenid) {
				this.param = (option.tokenid)
			}
			if (option.tokenId) {
				this.param = (option.tokenId)
			}
			if (option.llgclickid) {
				this.param = (option.llgclickid)
			}
			if (option.bxm_id) {
				this.param = (option.bxm_id)
			}
			if (option.a_oId) {
				this.param = (option.a_oId)
			}
			if (option.a_oid) {
				this.param = (option.a_oid)
			}
			if (option.cpparamOrderId) {
				this.param = (option.cpparamOrderId)
			}

			if (option.tid) {

				let a = {
					'tid': option.tid,
					'lbid': option.lbid,
					"pageId": option.pageId

				}
				if (a.tid == null || a.tid == undefined || a.tid == 'null') {
					a.requestId = ''
				}
				if (a.lbid == null || a.lbid == undefined || a.lbid == 'null') {
					a.lbid = ''
				}
				if (a.pageId == null || a.pageId == undefined || a.pageId == 'null') {
					a.pageId = ''
				}
				this.param = (JSON.stringify(a))
				//oppo
			}

			if (option.imei) {

				let a = {
					'imei': option.imei,
					'adId': option.adId,

				}
				if (a.imei == null || a.imei == undefined || a.imei == 'null') {
					a.imei = ''
				}
				if (a.adId == null || a.adId == undefined || a.adId == 'null') {
					a.adId = ''
				}
				this.param = (JSON.stringify(a))
				//oppo
			}
			if (option.state_json) {
				this.param = encodeURIComponent(option.state_json)
			}

			if (option.requestId) {
				console.log(option.requestId)
				let a = {
					'requestId': option.requestId,
					'adId': option.adId,
					'pn': option.pn
				}
				console.log(a)
				if (a.requestId == null || a.requestId == undefined || a.requestId == 'null') {
					a.requestId = ''
				}
				if (a.adId == null || a.adId == undefined || a.adId == 'null') {
					a.adId = ''
				}
				if (a.pn == null || a.pn == undefined || a.pn == 'null') {
					a.pn = ''
				}
				console.log(JSON.stringify(a))
				this.param = (JSON.stringify(a))

			}
			if (option.projectid) {

				this.param = (window.location.href)

			}
			if (option.request) {

				this.param = (window.location.href)

			}

			if (option.creativeid) {

				this.param = (window.location.href)

			}
			if (option.union_site) {
				this.param = (window.location.href)
			}

		},
		watch: {

		},
		computed: {

		}
	}
</script>

<style scoped lang='scss'>

</style>